package com.wanmait.translate.system.mapper;

import com.wanmait.translate.configuration.other.SqlDeep;
import com.wanmait.translate.pojo.SystemUser;

import java.util.List;


/*
 * @Author huweibin
 * @Description 加sqlDeep的为深查询方法
 * @Date 8:39 2020/11/7
 **/
public interface SystemUserMapper {
    @SqlDeep({SystemPostMapper.class, SystemMenuMapper.class})
    SystemUser getDeepByPrimaryKey(Integer id);

    SystemUser getSystemUser(SystemUser user);

    SystemUser selectBaseByPrimaryKey(Integer id);

    int deleteByPrimaryKey(Integer id);

    int insert(SystemUser record);

    int insertSelective(SystemUser record);

    int updateByPrimaryKeySelective(SystemUser record);

    int updateByPrimaryKey(SystemUser record);


    List<SystemUser> listByCondition(SystemUser systemUser);
}